package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DefScoreRule;

/**
 * 得分规则Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public interface DefScoreRuleMapper 
{
    /**
     * 查询得分规则
     * 
     * @param id 得分规则主键
     * @return 得分规则
     */
    public DefScoreRule selectDefScoreRuleById(Long id);

    /**
     * 查询得分规则列表
     * 
     * @param defScoreRule 得分规则
     * @return 得分规则集合
     */
    public List<DefScoreRule> selectDefScoreRuleList(DefScoreRule defScoreRule);

    /**
     * 新增得分规则
     * 
     * @param defScoreRule 得分规则
     * @return 结果
     */
    public int insertDefScoreRule(DefScoreRule defScoreRule);

    /**
     * 修改得分规则
     * 
     * @param defScoreRule 得分规则
     * @return 结果
     */
    public int updateDefScoreRule(DefScoreRule defScoreRule);

    /**
     * 删除得分规则
     * 
     * @param id 得分规则主键
     * @return 结果
     */
    public int deleteDefScoreRuleById(Long id);

    /**
     * 批量删除得分规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDefScoreRuleByIds(Long[] ids);
}
